package com.zhang.blog.service;

import com.zhang.blog.entity.SysUser;
import com.zhang.blog.vo.Result;
import com.zhang.blog.vo.UserVo;

/**
 * @ClassName: SysUserService
 * @Auther: dell
 * @Date: 2021/10/28 10:10
 * @Description:
 */
public interface SysUserService {

    SysUser findUserById(Long id);

    SysUser findUser(String account, String password);

    Result findUserByToken(String token);

    SysUser findUserByAccount(String account);

    void save(SysUser sysUser);

    UserVo findUserVoById(Long authorId);
}
